package org.kongqian.productmanager.service.impl;

import org.kongqian.productmanager.domain.Product;
import org.kongqian.productmanager.mapper.ProductMapper;
import org.kongqian.productmanager.service.IProductService;
import org.kongqian.basic.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author kq
 * @since 2022-10-21
 */
@Service
public class ProductServiceImpl extends BaseServiceImpl<Product> implements IProductService {
    @Autowired
    private ProductMapper productMapper;

    @Override
    public void batchDelete(List<Long> ids) {
        productMapper.batchDelete(ids);
    }
}
